package com.yuecai.modules.yc_gift_good.service.vo;

import com.yuecai.modules.yc_gift_good.domain.YcGiftGood;
import com.yuecai.modules.yc_goods_sku.domain.YcGoodsSku;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;

/**
 * @author: dm
 * @Date: 2020/10/26 14:21
 * @Description:
 */
@Data
public class YcGiftGoodVo extends YcGiftGood {
    private YcGoodsSku ycGoodsSku;

    @Column(name = "img",nullable = false)
    @NotBlank
    @ApiModelProperty(value = "主图")
    private String img;

    @Column(name = "slider_image")
    @ApiModelProperty(value = "轮播图")
    private String name;
}
